var app = new Vue({
    el: '#app',
    data () {
        return {
            supermarketList:[]
        }
    },
    mounted () {
        this.getSupermarketList()
    },
    methods: {
        back () { // 返回上一页
            window.history.go(-1)
        },
        getSupermarketList(){
            let self = this
            Axios.post('/goods/goods/supermarket.do')
                .then(function (data) {
                    self.supermarketList = data.data
                })
        },
    }
})
